﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Chaotic.Core.Mvvm;

namespace Chaotic.Core.RabbonMenu
{
    public class GroupModel : ViewModelBase
    {
        private string text;

        private ObservableCollection<ButtonModel> buttons;

        public GroupModel()
        {
            buttons = new ObservableCollection<ButtonModel>();
        }

        public ObservableCollection<ButtonModel> Buttons
        {
            get
            {
                return buttons;
            }
        }

        /// <summary>
        ///     Gets or sets Text.
        /// </summary>
        public string Text
        {
            get
            {
                return this.text;
            }
            set
            {
                this.SetProperty(ref text, value);  
            }
        }
    }
}
